<script setup lang="ts">
import { usePageConfig } from './config/index.ts'
import NTableBuilder from '@/components/NTableBuilder/index.vue'
import { useTable } from '@/hooks/useTable.ts'

defineOptions({
  name: 'PostPage',
})
const pageConfig = usePageConfig()
const { table, tableProps } = useTable(pageConfig)
</script>

<template>
  <n-table-builder v-model="table.tableInfo" v-bind="tableProps" />
</template>

<style lang="scss" scoped></style>
